﻿namespace Cos.Module.Template.NHibernate.Test
{
    using Cos.Core.NHibernate.Mapping;

    using FluentNHibernate;

    public class TestModel : PersistenceModel
    {
        public TestModel()
        {
            this.AddMappingsFromAssembly(typeof(DataTypeMap).Assembly);
            this.AddMappingsFromAssembly(typeof(TemplateMap).Assembly);
            this.AddMappingsFromAssembly(typeof(PartMap).Assembly);
            this.AddMappingsFromAssembly(typeof(PartCultureMap).Assembly);
            this.AddMappingsFromAssembly(typeof(OptionMap).Assembly);
            this.AddMappingsFromAssembly(typeof(OptionCultureMap).Assembly);
            this.AddMappingsFromAssembly(typeof(TemplateAssocMap).Assembly);
        }
    }
}
